function sayName(punctuation) {
    console.log("hello," + this.name + (punctuation || ""));
}

const person1 = {
    name: "zhangsan",
    age: 18
};
const person2 = {
    name: "lisi",
    age: 20
};

sayName.call(person1, "!");
sayName.call(person2);

sayName.apply(person1, ["!"]);
sayName.apply(person2);

const bound = sayName.bind(person1, "!");
bound.call(person2, "!");
